package com.tebiecloud.base.server.service;

import com.tebiecloud.base.client.model.IpLimitApi;
import com.tebiecloud.base.client.model.entity.GatewayIpLimit;
import com.tebiecloud.common.mybatis.base.service.IBaseService;

import java.util.List;

/**
 * 开放网关-IP访问控制-策略 服务类
 * @author tebie
 * @date 2019-08-01
 */
public interface GatewayIpLimitService extends IBaseService<GatewayIpLimit> {

    /**
     * 查询白名单
     * @return
     */
    List<IpLimitApi> getBlackList();

    /**
     * 查询黑名单
     * @return
     */
    List<IpLimitApi> getWhiteList();

}
